﻿using Abp.Application.Services.Dto;
using System;

namespace Camc.Quality.Materials.Dto
{
   public class MaterialsContentDto : FullAuditedEntityDto<Guid>
    {
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }
        /// <summary>
        /// 物料代码
        /// </summary>
        public string MaterialNo { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Model { get; set; }
        /// <summary>
        /// 物料类别
        /// </summary>
        public Guid MaterialTypeId { get; set; }
        /// <summary>
        /// 物料类别
        /// </summary>
        public string MaterialTypeName { get; set; }
        /// <summary>
        /// 对应物料细分类别id
        /// </summary>
        public Guid MaterialCategoryId { get; set; }
        /// <summary>
        /// 物料细分类别名称
        /// </summary>
        public string MaterialCategoryName { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public Guid UnitId { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 是否使用
        /// </summary>
        public string IsUsed { get; set; }
        /// <summary>
        /// 是否关键件
        /// </summary>
        public string IsKeyPart { get; set; }
        /// <summary>
        /// 是否标准件
        /// </summary>
        public string IsStandard { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 物料属性
        /// </summary>
        public string MaterialProperty { get; set; }
        /// <summary>
        /// 物料属性
        /// </summary>
        public int MaterialPropertyId { get; set; }
        /// <summary>
        /// 图号
        /// </summary>
        public string DrawingNo { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateUser { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; }
        /// <summary>
        /// Excel验证是否通过，默认为true
        /// <para>true：通过；false：不通过</para>
        /// </summary>
        public bool IsExcelVaildateOK { get; set; } = true;
        /// <summary>
        /// 类型识别
        /// </summary>
        public string MaterialsTypeCode { get; set; }
        /// <summary>
        /// 父级节点id
        /// </summary>
        public Guid ParentCode { get; set; }

    }
}
